﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ShowCategory.aspx.cs" Inherits="KBVault.Web.Public.ShowCategory" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="row">
        <h2 class="section-title clearfix">
        <span class="line"></span>
        <asp:Label runat="server" ID="categoryTitle"></asp:Label>
        <asp:HyperLink runat="server" ID="linkEdit" CssClass="tiny"><span class="fa fa-edit fa-fw"></span>Edit Category</asp:HyperLink>
        <asp:HyperLink runat="server" ID="linkNewArticle" CssClass="tiny"><span class="fa fa-file-text-o fa-fw"></span>Add Article</asp:HyperLink>
        </h2>
        <div class="row">
            <h4>Articles</h4>
            <ul class="fa-ul">
                <asp:Repeater runat="server" ID="rptArticles">
                    <ItemTemplate>
                        <li>
                            <i class="fa-li fa fa-list-alt fa-fw text-muted"></i>
                            <a href='<%# String.Format("/Public/ShowArticle.aspx?Article={0}",Eval("Id")) %>'>
                            <%#Eval("Title") %>
                            </a>
                        </li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
        </div>
    </div>
</asp:Content>
